package Sunday;

public class Product {
    private Integer prodcut_id;
    private String prodcut_name;
    private Integer product_up;
    private String product_specs;



    public Product() {
    }

    public Product(Integer prodcut_id, String prodcut_name, Integer product_up, String product_specs) {
        this.prodcut_id = prodcut_id;
        this.prodcut_name = prodcut_name;
        this.product_up= product_up;
        this.product_specs=product_specs;
    }

    public Integer getProdcut_id() {
        return prodcut_id;
    }

    public void setEmp_id(Integer prodcut_id) {
        this.prodcut_id = prodcut_id;
    }

    public String getProdcut_name() {
        return prodcut_name;
    }

    public void setProdcut_name(String product_name) {
        this.prodcut_name = prodcut_name;
    }

    public Integer getProduct_up() {
        return product_up;
    }

    public void setProduct_up(Integer product_up) {
        this.product_up = product_up;
    }

    public String getProduct_specs(){
        return product_specs;
    }
    public void setProduct_specs(String product_specs){
        this.product_specs=product_specs;
    }



    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("product{");
        sb.append("product.id=").append(prodcut_id);
        sb.append(", product_name='").append(prodcut_name).append('\'');
        sb.append(",prodcut_up  ='").append(product_up ).append('\'');
        sb.append(",prodcut_specs  ='").append(product_specs).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
